package www.woniuxy.com.class112.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import www.woniuxy.com.class112.dto.AdminWorkOredeDto;
import www.woniuxy.com.class112.entity.WorkOrders;
import www.woniuxy.com.class112.entity.WorkOrdersExample;

public interface WorkOrdersMapper {
    long countByExample(WorkOrdersExample example);

    int deleteByExample(WorkOrdersExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WorkOrders record);

    int insertSelective(WorkOrders record);

    List<WorkOrders> selectByExample(WorkOrdersExample example);

    WorkOrders selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WorkOrders record, @Param("example") WorkOrdersExample example);

    int updateByExample(@Param("record") WorkOrders record, @Param("example") WorkOrdersExample example);

    int updateByPrimaryKeySelective(WorkOrders record);

    int updateByPrimaryKey(WorkOrders record);

    List<AdminWorkOredeDto> adminselectWorkOrdes(@Param("issueTypeId") Long issueTypeId,@Param("stateId") Long stateId,@Param("orderTitle") String orderTitle);
}